﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#region using for special implements
using System.Runtime.Serialization;
#endregion using for special implements

namespace Com.ProjectA.DataContract
{
    [DataContract]
    public class DCLocation
    {
        [DataMember]
        public Address address { get; set; }
        [DataMember]
        public City city { get; set; }
        [DataMember]
        public District district { get; set; }
    }

    [DataContract]
    public class City
    {
        [DataMember]
        public int intCityId { get; set; }
        [DataMember]
        public string strCityNm { get; set; }
        [DataMember]
        public string strCityCd { get; set; }
    }

    [DataContract]
    public class Address
    {
        [DataMember]
        public string strAdd { get; set; }
        [DataMember]
        public string strWard { get; set; }
        [DataMember]
        public string strBuildingName { get; set; }
        [DataMember]
        public string strFloorNo { get; set; }
        [DataMember]
        public string strRoomNo { get; set; }
    }
    [DataContract]
    public class District
    {
        [DataMember]
        public int intDistId { get; set; }
        [DataMember]
        public int intCityId { get; set; }
        [DataMember]
        public string strDistNm { get; set; }
        [DataMember]
        public string strDistCd { get; set; }
    }
}
